import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from "./views/js/store";
import widget from "../public/Build/Cesium/Widgets/widgets.css"

window.CIM = {};
window.isFlat = false;
window.currentPlanId = "";
window.designPlanChange = false;
//设置地形压平缓存对象
CIM.flat = {
  tilesEditor: {
    IsYaPing: false,
    height: [],
    polygonBounds: [],
  },
  resetTilesEditor: function () {
    this.tilesEditor.IsYaPing = false;
    this.tilesEditor.height = [];
    this.tilesEditor.polygonBounds = [];
  },
};
//ֱ直接全局引入
import Antd from "ant-design-vue/es";
import "ant-design-vue/dist/antd.css";
Vue.use(Antd);
import ElementUI from "element-ui";
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
import "../public/css/iconfont/iconfont.js";
import "../public/css/dg/iconfont/iconfont.js";
import "../public/css/dg/iconfont/iconfont.css";
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
